/**
 * 
 */
package com.jquery.ui.tags.beans.script;

import java.util.Map;

import com.jquery.ui.core.bean.UIBean;
import com.jquery.ui.uitls.StringUtils;

/**
 * @author linyajun
 * 
 * @date	2013-9-24
 * @description   
 */
public class TabScriptUI extends UIBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3757273340201655353L;

	private String title;
	private Boolean showClose=false;
	private String href;
	private String uuId;
	@Override
	public void putAttribute(Map<String, Object> attribute) {
		if (StringUtils.isNotEmpty(title)) {
			attribute.put("title", title);
			
		}
		if (StringUtils.isNotEmpty(uuId)) {
			attribute.put("UUID", uuId);
		}
		if (StringUtils.isNotEmpty(href)) {
			attribute.put("href", href);
		}
		attribute.put("showClose", showClose);

	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the uuId
	 */
	public String getUuId() {
		return uuId;
	}
	/**
	 * @param uuId the uuId to set
	 */
	public void setUuId(String uuId) {
		this.uuId = uuId;
	}
	/**
	 * @return the showClose
	 */
	public Boolean getShowClose() {
		return showClose;
	}
	/**
	 * @param showClose the showClose to set
	 */
	public void setShowClose(Boolean showClose) {
		this.showClose = showClose;
	}
	/**
	 * @return the href
	 */
	public String getHref() {
		return href;
	}
	/**
	 * @param href the href to set
	 */
	public void setHref(String href) {
		this.href = href;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	

}
